package com.xl.game.tool;
import android.content.*;
import android.net.*;

public class QQTool
{
	
	//加入指定QQ群：
	public static void goToGroup(Context context,String uin)
	{
	String url11 = "mqqwpa://im/chat?chat_type=group&uin="+uin+"&version=1";
	context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url11)));
	}
	
	//加入指定QQ
	public static void goToQQ(Context context,String uin)
	{
		String url11 = "mqqwpa://im/chat?chat_type=wpa&uin="+uin+"&version=1";
		context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url11)));
		
	}

}
